<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2008 XBRL International. All Rights Reserved. -->
<?xml-stylesheet type="text/xsl" href="../../infrastructure/test.xsl"?>
<testcase
  xmlns="http://xbrl.org/2008/conformance"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xbrlfe="http://xbrl.org/2008/formula/error"
  xmlns:binding="http://xbrl.org/2008/binding/errors"
  xmlns:label="http://xbrl.org/2008/label/errors"
  xmlns:reference="http://xbrl.org/2008/reference/errors"  
  xsi:schemaLocation="http://xbrl.org/2008/conformance ../../infrastructure/test.xsd">
  <creator>
    <name>Roland Hommes</name>
    <email>roland@rhocon.nl</email>
  </creator>
  <number>0014</number>
  <name>Wagetax example part 5</name>
  <description>
      ConceptName, entity, unit, entityscheme, period, tuple filters; with fn:abs() and fn:sum() and lt.
  </description>
  <reference specification="FORMULA" id="sec-formula"/>
  <reference specification="VARIABLES" id="sec-fact-variables"/>
  <reference specification="SCENARIOSEGMENTFILTERS" id="sec-syntax"/>

  <variation id="V-01">
    <name>Wagetax example (ok example)</name>
    <description>
      Example with conceptName, unit, entityscheme, period, tuple filters; with fn:abs() and fn:sum() and lt.
    </description>
  <reference specification="FORMULA" id="sec-formula"/>
  <reference specification="VARIABLES" id="sec-fact-variables"/>
  <reference specification="SCENARIOSEGMENTFILTERS" id="sec-syntax"/>
    <data>
      <instance readMeFirst="true">input_scenario_OK.xbrl</instance>
      <schema readMeFirst="false">concepts.xsd</schema>
      <schema readMeFirst="false">context.xsd</schema>
      <linkbase readMeFirst="false">formulae_scenario.xml</linkbase>
    </data>
    <result>
      <instance>output_scenario_OK.xml</instance>
    </result>
  </variation>
  
  <variation id="V-02">
    <name>Wagetax example (error example)</name>
    <description>
      Fails on scenario, unit, period, entityscheme, summation.
    </description>
  <reference specification="FORMULA" id="sec-formula"/>
  <reference specification="VARIABLES" id="sec-fact-variables"/>
  <reference specification="SCENARIOSEGMENTFILTERS" id="sec-syntax"/>
    <data>
      <instance readMeFirst="true">input_scenario_error.xbrl</instance>
      <schema readMeFirst="false">concepts.xsd</schema>
      <schema readMeFirst="false">context.xsd</schema>
      <linkbase readMeFirst="false">formulae_scenario.xml</linkbase>
    </data>
    <result>
      <instance>output_scenario_error.xml</instance>
    </result>
  </variation>

  <variation id="V-03">
    <name>Wagetax example (ok example)</name>
    <description>
      Example with conceptName, unit, entityscheme, period, tuple filters; with fn:abs() and fn:sum() and lt.
    </description>
  <reference specification="FORMULA" id="sec-formula"/>
  <reference specification="VARIABLES" id="sec-fact-variables"/>
  <reference specification="SCENARIOSEGMENTFILTERS" id="sec-syntax"/>
    <data>
      <instance readMeFirst="true">input_segment_OK.xbrl</instance>
      <schema readMeFirst="false">concepts.xsd</schema>
      <schema readMeFirst="false">context.xsd</schema>
      <linkbase readMeFirst="false">formulae_segment.xml</linkbase>
    </data>
    <result>
      <instance>output_segment_OK.xml</instance>
    </result>
  </variation>
  
  <variation id="V-04">
    <name>Wagetax example (error example)</name>
    <description>
      Fails on scenario, unit, period, entityscheme, summation.
    </description>
  <reference specification="FORMULA" id="sec-formula"/>
  <reference specification="VARIABLES" id="sec-fact-variables"/>
  <reference specification="SCENARIOSEGMENTFILTERS" id="sec-syntax"/>
    <data>
      <instance readMeFirst="true">input_segment_error.xbrl</instance>
      <schema readMeFirst="false">concepts.xsd</schema>
      <schema readMeFirst="false">context.xsd</schema>
      <linkbase readMeFirst="false">formulae_segment.xml</linkbase>
    </data>
    <result>
      <instance>output_segment_error.xml</instance>
    </result>
  </variation>

</testcase>